<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
	<title>工作台首页</title>
	
	<link rel="stylesheet" href="style/weuix.min.css"/>
  
  <link rel="stylesheet" href="style/gzt.css"/>
	<script src="js/zepto.min.js"></script>
 
      <script src="js/iscroll.js"></script>
      <script src="js/updown.js"></script>
 
	<style>
	.weui_tab_nav .weui_nav_green.bg_green{border-color: #fff;}
	.weui_tab_nav .weui_nav_green{border: 1px solid #FFFFFF;}
	</style>

 


<script>
$(function(){
   
  
    $('.main').dropload({
        scrollArea : window,
        autoLoad : true,//自动加载
  domDown : {//上拉
            domClass   : 'dropload-down',
            domRefresh : '<div class="dropload-refresh f15 "><i class="icon icon-20"></i>上拉加载更多</div>',
            domLoad    : '<div class="dropload-load f15"><span class="weui-loading"></span>正在加载中...</div>',
            domNoData  : '<div class="dropload-noData">没有更多数据了</div>'
        },
        domUp : {//下拉
            domClass   : 'dropload-up',
            domRefresh : '<div class="dropload-refresh"><i class="icon icon-114"></i>下拉加载前一天</div>',
            domUpdate  : '<div class="dropload-load f15"><i class="icon icon-114"></i>释放加载前一天...</div>',
            domLoad    : '<div class="dropload-load f15"><span class="weui-loading"></span>正在加载中...</div>'
        },
                loadDownFn : function(me){//刷新
            $.ajax({



              type: 'GET',
               url: 'more.html',
              // context: $('body'),
                success: function(data){ 


                if(true){
                    //有数据
                     $(".page-hd").before(data);
                  }
                  else{
                    // 无数据
                    $(".you").hide();
                    $(".wu").show();

                    me.lock();
                     me.noData();
                  }             
                 
                 me.resetload();                 
                },
                error: function(xhr, type){
                  alert('加载失败!');
                    me.resetload();
               
                }
            


                

            });
        },


        loadUpFn : function(me){//加载更多  
       
            var result = '';
            $.ajax({
               type: 'GET',
               url: 'more.html',
              // context: $('body'),
                success: function(data){ 

                  if(true){
                    //有数据
                     $(".main").prepend(data); 
                  }
                  else{
                    // 无数据
                    me.lock();
                     me.noData();
                  }  
               
                 
                 me.resetload();
                 
                },
                error: function(xhr, type){
                  alert('加载失败!');
                    me.resetload();
               
                }


                


            });
        }
    });
    
    
    
    
 
    
});
</script>      



</head>
<body ontouchstart>

<!-- <div class="topbg">
		<div class="weui_btn_primary weui-header "> 
			<div class="weui-header-left"> <a class="icon icon-109 f-white" href="javascript:;"  onclick="javascript:history.go(-1);" ></a>  </div>
			<h1 class="weui-header-title">新建日程</h1>
			<div class="weui-header-right"><a class=" f-white"  href="javascript:;" >保存</a></div> 
		</div>
 
</div> -->
 <div class="divfixed">
<div id="tagnav" class="weui-navigator weui-navigator-wrapper">
           <ul class="weui-navigator-list">
                <li><a href="javascript:;">工作台</a></li>
                <li><a href="javascript:;">日报</a></li>
                <li><a href="javascript:;">日程</a></li>
                <li><a href="javascript:;">审批</a></li>
                <li><a href="javascript:;">提醒</a></li>
                <li><a href="javascript:;">地理信息</a></li>
                <li><a href="javascript:;">政策</a></li>
 
            </ul>
    </div> 

<!--  -->
 <div class="searchbar_wrap">
</div>





<!-- 提示 -->
<div class="tips">
  提示：您有 7 项过期未办理的事项
 <span class=" gb">不再提示</span>
</div>



</div>
<!--  -->




<!--  -->
<div class="main">

<a  name="11"></a>
  <div class="day">
      <div class="date">3月11日 周一 <div class="right">6项安排</div></div>
      <div class="daylist" onclick="javascript:window.location.href='#';">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="cir tixing ">提醒</span> <span class="name">刘寅虎</span>发起<span class="mkname">日程</span>提醒</div>

            <div class="daycont" >
              
              <table>
                <tr>
                  <td>主题：</td>
                  <td>关于中德生态园政务网站改版费用</td>
                   
                </tr>
                <tr>
                  <td>时间：</td>
                  <td>今天 12:20:00</td>
                  
                </tr>
                <tr>
                  <td>地点：</td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>
              

            </div>

         </div>
      </div> 
       <!--列表结束  -->


  </div>


<a  name="12"></a>
  <div class="day">
      <div class="date">3月12日 周一 <div class="right">6项安排</div></div>
      <div class="daylist" onclick="javascript:window.location.href='#';">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="cir tixing ">提醒</span> <span class="name">刘寅虎</span>发起<span class="mkname">日程</span>提醒</div>

            <div class="daycont" >
              
              <table>
                <tr>
                  <td>主题：</td>
                  <td>关于中德生态园政务网站改版费用</td>
                   
                </tr>
                <tr>
                  <td>时间：</td>
                  <td>今天 12:20:00</td>
                  
                </tr>
                <tr>
                  <td>地点：</td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>
              

            </div>

         </div>
      </div> 
       <!--列表结束  -->


  </div>

<a  name="13"></a>
  <div class="day">
      <div class="date">昨天 3月14日 周一 <div class="right">6项安排</div></div>
      <div class="daylist" onclick="javascript:window.location.href='#';">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="cir tixing ">提醒</span> <span class="name">刘寅虎</span>发起<span class="mkname">日程</span>提醒</div>

            <div class="daycont" >
              
              <table>
                <tr>
                  <td>主题：</td>
                  <td>关于中德生态园政务网站改版费用</td>
                   
                </tr>
                <tr>
                  <td>时间：</td>
                  <td>今天 12:20:00</td>
                  
                </tr>
                <tr>
                  <td>地点：</td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>
              

            </div>

         </div>
      </div> 
       <!--列表结束  -->


  </div>




<a  name="14"></a>
  <div class="day jintian">
      <div class="date">今天 3月14日 周一 <div class="right">6项安排</div></div>
      <div class="daylist" onclick="javascript:window.location.href='#';">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="cir tixing ">提醒</span> <span class="name">刘寅虎</span>发起<span class="mkname">日程</span>提醒</div>

            <div class="daycont" >
              
              <table>
                <tr>
                  <td>主题：</td>
                  <td>关于中德生态园政务网站改版费用</td>
                   
                </tr>
                <tr>
                  <td>时间：</td>
                  <td>今天 12:20:00</td>
                  
                </tr>
                <tr>
                  <td>地点：</td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>
              

            </div>

         </div>
      </div>

      <!--  -->
      <div class="daylist">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="cir cuiban ">催办</span> <span class="name">刘寅虎</span>发起<span class="mkname">日程</span>提醒</div>

            <div class="daycont">
              <table>
                <tr>
                  <td>主题：</td>
                  <td>关于中德生态园政务网站改版费用</td>
                   
                </tr>
                <tr>
                  <td>时间：</td>
                  <td>今天 12:20:00</td>
                  
                </tr>
                <tr>
                  <td>地点：</td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>

            </div>

         </div>
      </div>
       <!--列表结束  -->


  </div>


  <!-- 明天 -->

<a  name="15"></a>
  <div class="day mt">

      <div class="date">明天 3月15日 周二 <div class="right">6项安排</div></div>
      <div class="daylist">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="mkname bg-orange ">日程</span> 关于中德生态园政务网站改版费用</div>

            <div class="daycont">
              <table>
                <tr>
                  <td>提报人：<span></span></td>
                  <td>阿明</td>
                   
                </tr>
                <tr>
                  <td>时间：<span></span></td>
                  <td>2017-02-16 12:20</td>
                  
                </tr>
                <tr>
                  <td>地点：<span></span></td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>

            </div>

         </div>
      </div>

      <!--  -->
      <div class="daylist">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="cir bg-orange ">提醒</span> <span class="name">刘寅虎</span>发起<span class="mkname">日程</span>提醒</div>

            <div class="daycont">
              <table>
                <tr>
                  <td>主题：</td>
                  <td>关于中德生态园政务网站改版费用</td>
                   
                </tr>
                <tr>
                  <td>时间：</td>
                  <td>今天 12:20:00</td>
                  
                </tr>
                <tr>
                  <td>地点：</td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>

            </div>

         </div>
      </div>
       <!--列表结束  -->


  </div>


  <!-- 后天 -->
  <a  name="16"></a>
  <div class="day mt">

      <div class="date">3月16日 周三 <div class="right">6项安排</div></div>

      <div class="daylist">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="mkname bg-orange ">日程</span> 关于中德生态园政务网站改版费用</div>

            <div class="daycont">
              <table>
                <tr>
                  <td>提报人：<span></span></td>
                  <td>阿明</td>
                   
                </tr>
                <tr>
                  <td>时间：<span></span></td>
                  <td>2017-02-16 12:20</td>
                  
                </tr>
                <tr>
                  <td>地点：<span></span></td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>

            </div>

         </div>
      </div>

      <!--  -->


      <div class="daylist">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="mkname bg-orange ">日程</span> 关于中德生态园政务网站改版费用</div>

            <div class="daycont">
              <table>
                <tr>
                  <td>提报人：<span></span></td>
                  <td>阿明</td>
                   
                </tr>
                <tr>
                  <td>时间：<span></span></td>
                  <td>2017-02-16 12:20</td>
                  
                </tr>
                <tr>
                  <td>地点：<span></span></td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>

            </div>

         </div>
      </div>

      <!--  -->


      <div class="daylist">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="mkname bg-orange ">日程</span> 关于中德生态园政务网站改版费用</div>

            <div class="daycont">
              <table>
                <tr>
                  <td>提报人：<span></span></td>
                  <td>阿明</td>
                   
                </tr>
                <tr>
                  <td>时间：<span></span></td>
                  <td>2017-02-16 12:20</td>
                  
                </tr>
                <tr>
                  <td>地点：<span></span></td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>

            </div>

         </div>
      </div>

      <!--  -->
      <div class="daylist">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="cir bg-orange ">提醒</span> <span class="name">刘寅虎</span>发起<span class="mkname">日程</span>提醒</div>

            <div class="daycont">
              <table>
                <tr>
                  <td>主题：</td>
                  <td>关于中德生态园政务网站改版费用</td>
                   
                </tr>
                <tr>
                  <td>时间：</td>
                  <td>今天 12:20:00</td>
                  
                </tr>
                <tr>
                  <td>地点：</td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>

            </div>

         </div>
      </div>
       <!--列表结束  --> 
  </div>

    <!-- 17 -->
  <a  name="17"></a>
  <div class="day mt">
      <div class="date">3月17日 周三 <div class="right">6项安排</div></div>
      <div class="daylist">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="mkname bg-orange ">日程</span> 关于中德生态园政务网站改版费用</div>

            <div class="daycont">
              <table>
                <tr>
                  <td>提报人：<span></span></td>
                  <td>阿明</td>
                   
                </tr>
                <tr>
                  <td>时间：<span></span></td>
                  <td>2017-02-16 12:20</td>
                  
                </tr>
                <tr>
                  <td>地点：<span></span></td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>

            </div>

         </div>
      </div>

      <!--  -->
      <div class="daylist">
         <div class="daytime">06:45</div>
         <div class="daymain">
            <div class="daytop"><span class="cir bg-orange ">提醒</span> <span class="name">刘寅虎</span>发起<span class="mkname">日程</span>提醒</div>

            <div class="daycont">
              <table>
                <tr>
                  <td>主题：</td>
                  <td>关于中德生态园政务网站改版费用</td>
                   
                </tr>
                <tr>
                  <td>时间：</td>
                  <td>今天 12:20:00</td>
                  
                </tr>
                <tr>
                  <td>地点：</td>
                  <td>管委316办公室</td>
                  
                </tr>
              </table>

            </div>

         </div>
      </div>
       <!--列表结束  --> 
  </div>




  <!--下一个  -->
  <div class="page-hd">
    
    <div class="weui-loadmore weui-loadmore-line  you">
            <span class="weui-loadmore-tips">继续滚动加载下一天</span>
    </div>

    <div class="weui-loadmore weui-loadmore-line  wu">
            <span class="weui-loadmore-tips">没有其它安排了</span>
    </div>


  </div>




</div>

<!-- <div id="tagv" class="weui-navigator weui-navigator-wrapper seven" style="position: fixed;">
           <div class="weui-navigator-list sbar">
                 <span data-date="11"><i>2</i>11</span>
      <span data-date="12">12 <i>3</i></span>
      <span data-date="13">13<i>1</i></span>
      <span data-date="14" class="jin active">今</span>
      <span data-date="15">15</span>
      <span data-date="16">16</span>
      <span data-date="17">17</span> 
      <span data-date="18">18</span>
      <span data-date="19">19</span>
      <span data-date="20">20</span>
      <span data-date="21">21</span>
 
            </div>
    </div> 

  -->


<a class="today" href="javascript:;"><!-- <i class="icon icon-7"></i> -->今</a>

<script>
  $(function(){ 

// 日期span宽度设置

 

 // var w7=parseInt($(window).width()/7);
 //  $(".seven span").width(w7);
 //   var sbarw=$(".seven span").size();
 //   $(".sbar").width(sbarw*w7);

 



// 点击日期跳转

function tiao(i,text){
  // i：个数   text：日期


      location.href = "#"+text;
      var ds=$("body").scrollTop();     
      if($(".tips").css("display")=="block"){       $("body").scrollTop(ds-132)      }
      else{        $("body").scrollTop(ds-96)      }
   }
 
// 日期点击方法
  $(".seven span").click(function(){
   var i=$(this).index();
   var text=$(this).data("date");
   $(this).addClass("active").siblings().removeClass("active");


   tiao(i,text);
  });



  // 今天按钮显示
  $(document).scroll(
    function(){

 var a= $("body").scrollTop();
 var b= $(".mt").offset().top;
//  $(".today").text(a,b);

if(a>0)
{
  $(".today").show();
}
else{
   $(".today").hide();
}

    });


// 跳转到今天
function jintian(){
     location.href = "#14";
         var ds=$("body").scrollTop();     
      if($(".tips").css("display")=="block"){ $("body").scrollTop(ds-132)      }
      else{        $("body").scrollTop(ds-96) }
}
 

 var c=$(".jintian").offset().top - $("body").scrollTop(); 
 $("body,html").scrollTop(c-96)


 $(document).on("tap",".today",function(){ 
 //$("body").scrollTo({toT: 0});   
     jintian();    
 }) ;




// tips 提示
 $(document).on("tap",".tips",function(){
 
 $(".tips").hide(); 
 $(".main").css("marginTop",96) 
// $("body").scrollTo({toT: 0});  
       
 }) ;


// TAB
  // TagNav('#tagv',{
       
  //   });
 

// 日期列表TAB
 TagNav('#tagnav',{
        type: 'scrollToFirst',
    });
 



// 搜索
 $('.searchbar_wrap').searchBar({
    cancelText:"取消",
    searchText:'关键字',
    onfocus: function (value) {
       
    },
    onblur:function(value) {

    },
    oninput: function(value) {

    },
    onsubmit:function(value){
    },
    oncancel:function(){

    },

    onclear:function(){

    }
});
// 



});
</script>
	</body>
	</html>